
import request from "@/util/request.js"



const query=(data)=>{
	return request({
		url:'/Dictinfo/query',
		params:data,
	})
}

const get=(data)=>{
	return request({
		url:'/Dictinfo/get',
		params:data,
	})
}


const Update=(data)=>{
	return request({
		url:'/Dictinfo/update',
		method:"post",
		data:data,
	})
}

const add=(data)=>{
	return request({
		url:'/Dictinfo/Add',
		method:"post",
		data:data,
	})
}

const del=(id)=>{
	return request({
		url:'/Dictinfo/delete',
		method:"post",
		params:{id},
	})
}
export default {
	query,
	get,
	add,
	del,
	Update
}